package com.syg.idempotent.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author ps
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Idempotent {

    String value() default "flowId";

    String apiCd() default "apiCd";

    String sysId() default "sysFlag";

    Class<?> requestClass() default String.class;

    Class<?> responseClass() default String.class;
}
